import request from "@/axios/request";
import type { DemoData } from '@/api/demo/type';
enum API {
    DEMO = '/test/2',
}
export const demoPostApi = (data: any) => request.post<any,DemoData>(API.DEMO, data);

export const demoGetApi = () => request.get<any,DemoData>(API.DEMO);